package com.hkyl.hospital.mapper.custom;

import com.hkyl.hospital.mapper.UserMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author gao
 * @date 2023/07/12 15:26:28
 */
public interface CustomUserMapper extends UserMapper {
    int clearUserRoles(Integer rid);
    int distributeUserRoles(@Param("userId") Integer userId, @Param("roleIds") List<Integer> permissionIds);

}
